Repository navigation
fix(autocomplete-valid): skip unautofillable input types without autocomplete (PAAA-1020) - #321
Open
shubham7298 wants to merge 2 commits into
Open
shubham7298 wants to merge 2 commits into
shubham7298 wants to merge 2 commits into
Conversation
…complete range, color, week, time and datetime-local inputs belong to no HTML autofill control group, so no WCAG 1.3.5 input purpose applies to them. autocomplete-a11y-matches no longer selects them unless the author set an autocomplete attribute; an authored value is still judged as before. Tests: 11 rule-matches cases (each type without autocomplete, and an upper-case type with a blank autocomplete, is excluded; range and color with an authored autocomplete, text, date and an unknown type="slider" still match) and integration fixtures inapplicable13-17. With the new tests, the local rule-matches run has 15 failures before the matcher change and 9 after: the 6 new cases turn green, and the other 9 are environment failures present on the base commit too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
shubham7298
marked this pull request as ready for review
November 29, 2026 16:42
rohitsahu-bstack
approved these changes
Nov 30, 2026
rohitsahu-bstack
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
autocomplete-a11y-matches(a BrowserStack addition, used byautocomplete-valid) selectedrange,color,week,timeanddatetime-localinputs even when noautocompleteattribute was authored.Problem. These input types belong to no HTML autofill control group, so no WCAG 1.3.5 input purpose applies. A slider or colour picker without
autocompletewas still judged by the rule.Fix. The matcher skips these five types unless the author set a non-blank
autocomplete. An authored value is still judged as before. The change carries the[a11y-rule-autocomplete-valid]tag comment.Tests.
autocomplete, and an upper-case type with a blankautocomplete;autocomplete, text, date, and an unknowntype="slider"(which renders as text).inapplicable13–inapplicable17.Dev testing (A/B).
da8dde2band this branch. The only difference between them is the matcher change.autocomplete-validran with base, then branch, then base again. The second base run must match the first, or the page is excluded.autocomplete;range/color/week/time/datetime-localinputs with no or blankautocomplete(fixture 7, reported capture 1, public pages 7)The reported range slider is no longer flagged. Genuine
autocomplete-validviolations on the other pages are unchanged. Production telemetry shows the rule only in in-page scans, not in the Percy runtime.Closes: PAAA-1020 (autocomplete part)
🤖 Generated with Claude Code